<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<f:subview id="comments78">
	
		<table cellspacing="0" cellpadding="5" width="100%">
			<tr>
				<td>
			<tr>
				<td>
				<h:form id="comment56">
				
				<h:dataTable value="#{articleManagedBean.comments}" var="com" width="50%">
					<table>
						<tr>
							<td><h:outputText value="Autor" /></td>
							<td><h:outputText value="#{com.autor}" /></td>
						</tr>
						<tr>
							<td><h:outputText value="Title" /></td>
							<td><h:outputText value="#{com.title}" /></td>
						</tr>
						<tr>
							<td><h:outputText value="Contenu" /></td>
							<td><h:outputText value="#{com.content}" /></td>
						</tr>
					</table>


				</h:dataTable>
				</h:form>
				
				</td>
			</tr>

			<tr>
				<td><br />
				</td>
			</tr>

			<tr>
				<td>
				<h:form id="comment580">
				<table>
					<tr>
						<td><h:outputText value="Autor" /></td>
						<td><h:inputText id="autor" value="#{articleManagedBean.commentAutor}" /></td>
					</tr>
					<tr>
						<td><h:outputText value="Title" /></td>
						<td><h:inputText id="title" value="#{articleManagedBean.commentTitle}" /></td>
					</tr>
					<tr>
						<td><h:outputText value="Contenu" /></td>
						<td><h:inputTextarea id="content" value="#{articleManagedBean.commentContent}" /></td>
					</tr>
					<tr>
						<td><br />
						<h:commandButton value="Submit" action="#{articleManagedBean.addComment}" /></td>
					</tr>
				</table>
				</h:form>
				</td>
			</tr>
			

		</table>
</f:subview>


